Skip to content

Add mission_control-jobs and letter_opener - #1156

Merged
amatsuda merged 2 commits into
rubycentral:mainfrom
unasuke:mail-debugging
Aug 7, 2026
Merged

Add mission_control-jobs and letter_opener#1156
amatsuda merged 2 commits into
rubycentral:mainfrom
unasuke:mail-debugging

Conversation

@unasuke

@unasuke unasuke commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

What

To debugging mail and job related features

screenshots

スクリーンショット 2026-07-26 141904
2026-07-26.141934.mp4
2026-07-26.142207.mp4

unasuke and others added 2 commits July 26, 2026 13:55
Authorize with the app's own admin check instead of the engine's HTTP
basic auth. The engine isolates its namespace, so its controllers
resolve bare route helpers against the engine's route set -- hence the
thin base controller mirroring Admin::ApplicationController with
main_app applied.

Also swap Devise::Test::ControllerHelpers for IntegrationHelpers in
request specs; the former dereferences a nil `@request`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Development had no delivery_method set, so mail fell through to :smtp
and was silently dropped. Route it to letter_opener_web instead and stop
swallowing delivery errors.

The engine is only mounted under `Rails.env.local?`, so the gem sits in
the development/test group and the navbar link carries the same guard.

Run bin/jobs from Procfile.dev too -- PasswordsMailer.reset is enqueued
with deliver_later and never reached the mailer without a worker.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@amatsuda
amatsuda merged commit bb3adb0 into rubycentral:main Aug 7, 2026
1 check passed
@unasuke
unasuke deleted the mail-debugging branch August 7, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants